package com.sailfish.springbootdemo.pojo.db2;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * (TbPcbCapacityParam)实体类
 *
 * @author makejava
 * @since 2023-07-18 13:18:52
 */
public class PcbCapacityParam implements Serializable {

    private static final long serialVersionUID = 486783513810425319L;

    private Integer pcbCapacityParamId;
    /**
     * 上一级id
     */
    private Integer parentId;
    /**
     * 参数名
     */
    private String pcbCapacityParamName;
    /**
     * 参数名英文
     */
    private String pcbCapacityParamNameEn;
    /**
     * 链接关系
     */
    private String indexLink;

    /**
     * 参数key
     */
    private String pcbCapacityParamKey;

    /**
     * 参数key2
     */
    private String pcbCapacityParamKey2;
    /**
     * 参数key-h3c要求值
     */
    private String pcbCapacityParamKey3;
    /**
     * 参数key-h3c要求值
     */
    private String pcbCapacityParamKey4;
    /**
     * 等级
     */
    private Integer level;
    /**
     * 是否必填 1：必填   2：非必填 【预留字段】
     */
    private Integer isRequired;
    /**
     * 字段类型  1：普通文本   2.下拉选择  3：文件上传
     */
    private Integer paramType;
    /**
     * 下拉选择的选项，逗号分隔，即pcba_device_param_type=2的时候下拉选项
     */
    private String paramOptions;

    private Integer ruleType;

    private String unit;

    private String tip;

    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private Integer status;

    private Integer sort;

    private String remark;

    private String remarkPic;

//    private PcbCapacityParamPic pcbCapacityParamPic;

    private List<PcbCapacityParam> children;

    private Map<String, ParamInfo> factoryDatas;

    /**
     * 参数key
     */
    private String pcbCapacityParamValue;
    /**
     * 参数key2
     */
    private String pcbCapacityParamValue2;
    /**
     * 参数key-h3c要求值
     */
    private String pcbCapacityParamValue3;
    private String pcbCapacityParamValue4;

    private PcbCapacityParam FromType;
    private PcbCapacityParam FromCategory;
    private PcbCapacityParam FromMajorType;

    private String imageBase64;

    public Integer getPcbCapacityParamId() {
        return pcbCapacityParamId;
    }

    public void setPcbCapacityParamId(Integer pcbCapacityParamId) {
        this.pcbCapacityParamId = pcbCapacityParamId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getPcbCapacityParamName() {
        return pcbCapacityParamName;
    }

    public void setPcbCapacityParamName(String pcbCapacityParamName) {
        this.pcbCapacityParamName = pcbCapacityParamName;
    }

    public String getPcbCapacityParamNameEn() {
        return pcbCapacityParamNameEn;
    }

    public void setPcbCapacityParamNameEn(String pcbCapacityParamNameEn) {
        this.pcbCapacityParamNameEn = pcbCapacityParamNameEn;
    }

    public String getIndexLink() {
        return indexLink;
    }

    public void setIndexLink(String indexLink) {
        this.indexLink = indexLink;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getPcbCapacityParamKey() {
        return pcbCapacityParamKey;
    }

    public void setPcbCapacityParamKey(String pcbCapacityParamKey) {
        this.pcbCapacityParamKey = pcbCapacityParamKey;
    }

    public String getPcbCapacityParamKey2() {
        return pcbCapacityParamKey2;
    }

    public void setPcbCapacityParamKey2(String pcbCapacityParamKey2) {
        this.pcbCapacityParamKey2 = pcbCapacityParamKey2;
    }

    public String getPcbCapacityParamKey3() {
        return pcbCapacityParamKey3;
    }

    public void setPcbCapacityParamKey3(String pcbCapacityParamKey3) {
        this.pcbCapacityParamKey3 = pcbCapacityParamKey3;
    }

    public String getPcbCapacityParamKey4() {
        return pcbCapacityParamKey4;
    }

    public void setPcbCapacityParamKey4(String pcbCapacityParamKey4) {
        this.pcbCapacityParamKey4 = pcbCapacityParamKey4;
    }

    public Integer getIsRequired() {
        return isRequired;
    }

    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }

    public Integer getParamType() {
        return paramType;
    }

    public void setParamType(Integer paramType) {
        this.paramType = paramType;
    }

    public String getParamOptions() {
        return paramOptions;
    }

    public Integer getRuleType() {
        return ruleType;
    }

    public void setRuleType(Integer ruleType) {
        this.ruleType = ruleType;
    }

    public void setParamOptions(String paramOptions) {
        this.paramOptions = paramOptions;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<PcbCapacityParam> getChildren() {
        return children;
    }

    public void setChildren(List<PcbCapacityParam> children) {
        this.children = children;
    }

    public PcbCapacityParam getFromType() {
        return FromType;
    }

    public void setFromType(PcbCapacityParam fromType) {
        FromType = fromType;
    }

    public PcbCapacityParam getFromCategory() {
        return FromCategory;
    }

    public void setFromCategory(PcbCapacityParam fromCategory) {
        FromCategory = fromCategory;
    }

    public PcbCapacityParam getFromMajorType() {
        return FromMajorType;
    }

    public void setFromMajorType(PcbCapacityParam fromMajorType) {
        FromMajorType = fromMajorType;
    }

    public String getPcbCapacityParamValue() {
        return pcbCapacityParamValue;
    }

    public void setPcbCapacityParamValue(String pcbCapacityParamValue) {
        this.pcbCapacityParamValue = pcbCapacityParamValue;
    }

    public String getPcbCapacityParamValue2() {
        return pcbCapacityParamValue2;
    }

    public void setPcbCapacityParamValue2(String pcbCapacityParamValue2) {
        this.pcbCapacityParamValue2 = pcbCapacityParamValue2;
    }

    public String getPcbCapacityParamValue3() {
        return pcbCapacityParamValue3;
    }

    public void setPcbCapacityParamValue3(String pcbCapacityParamValue3) {
        this.pcbCapacityParamValue3 = pcbCapacityParamValue3;
    }

    public String getPcbCapacityParamValue4() {
        return pcbCapacityParamValue4;
    }

    public void setPcbCapacityParamValue4(String pcbCapacityParamValue4) {
        this.pcbCapacityParamValue4 = pcbCapacityParamValue4;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemarkPic() {
        return remarkPic;
    }

    public void setRemarkPic(String remarkPic) {
        this.remarkPic = remarkPic;
    }

    public Map<String, ParamInfo> getFactoryDatas() {
        return factoryDatas;
    }

    public void setFactoryDatas(Map<String, ParamInfo> factoryDatas) {
        this.factoryDatas = factoryDatas;
    }

//    public PcbCapacityParamPic getPcbCapacityParamPic() {
//        return pcbCapacityParamPic;
//    }
//
//    public void setPcbCapacityParamPic(PcbCapacityParamPic pcbCapacityParamPic) {
//        this.pcbCapacityParamPic = pcbCapacityParamPic;
//    }


    public String getImageBase64() {
        return imageBase64;
    }

    public void setImageBase64(String imageBase64) {
        this.imageBase64 = imageBase64;
    }
}

